package com.xunyin.modules.couponnew.service.mapper;


import com.xunyin.common.mapper.CoreMapper;
import com.xunyin.modules.couponnew.domain.MtCoupon;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 卡券信息表 Mapper 接口
 * <p>
 * Created by xunyinyunshang <3594419785@qq.com>
 * CopyRight 讯音云商 https://www.tonetn.com
 */
@Repository
public interface MtCouponMapper extends CoreMapper<MtCoupon> {

    Long queryNumByGroupId(@Param("groupId") Integer groupId);

    List<MtCoupon> queryByGroupId(@Param("groupId") Integer groupId);

}
